home *** CD-ROM | disk | FTP | other *** search
/ Champak 50 / Volume 50 - JOGO DISK .iso / Games / marionettemadness.swf / scripts / DefineSprite_270 / frame_1 / DoAction.as
Text File  |  2007-10-01  |  717b  |  28 lines

  1. _parent.lsl.instructionsButton._visible = false;
  2. pBtn.onRollOver = iBtn.onRollOver = function()
  3. {
  4.    this.nextFrame();
  5. };
  6. mBtn.onRollOut = mBtn.onReleaseOutside = function()
  7. {
  8.    this.prevFrame();
  9. };
  10. mBtn.onRelease = function()
  11. {
  12.    this._parent._parent.initRound(this._parent._parent.round);
  13.    this._parent.gotoAndStop("off");
  14. };
  15. _root.setButtonRO(startGame,true);
  16. _root.setButtonRO(instructions,true);
  17. instructions.onRelease = function()
  18. {
  19.    this._parent.nextFrame();
  20. };
  21. startGame.onRelease = function()
  22. {
  23.    var _loc3_ = _root.restartGame;
  24.    _root.slideMeY(this._parent,this._parent.yUp,0.7,"easeInBack",0,_loc3_);
  25.    _root.slideMeY(_root.buddies,_root.buddies.yDown,0.7);
  26. };
  27. stop();
  28.